package com.otod.cd.doc.mapper;

import java.util.List;

import com.otod.base.mapper.BaseMapper;
import com.otod.base.support.spring.mybatis.annotation.MyBatisRepository;
import com.otod.cd.doc.vo.CdDocShareAuthVo;

@MyBatisRepository
public interface  CdDocShareAuthMapper extends BaseMapper<CdDocShareAuthVo>{
	/**
	 * 通过 shareId删除数据  没有使用join连接
	 * @param shareId
	 */
	public void deleteshareId(String shareId);
	
	/**
	 * 通过folerId删除数据  使用了 join连接
	 * @param shareId
	 */
	public void deleteshareIdJoin(String folderId);
	/**
	 * 通过 folderId 联合查询数据
	 * @param folderId
	 * @return
	 */
	public List<CdDocShareAuthVo> getShareId(String folderId);
	
}
